\section{ec\+\_\+fsm\+\_\+soe Struct Reference}
\label{structec__fsm__soe}\index{ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}}


Finite state machines for the Sercos over Ether\+C\+AT protocol.  


\subsection*{Data Fields}
\begin{DoxyCompactItemize}
\item 
\mbox{\label{structec__fsm__soe_ac70c33e8ea8a98b79d84c3ace3416180}} 
\textbf{ ec\+\_\+slave\+\_\+t} $\ast$ \textbf{ slave}
\begin{DoxyCompactList}\small\item\em slave the F\+SM runs on \end{DoxyCompactList}\item 
\mbox{\label{structec__fsm__soe_a717e23d822ee8bca76b9b477ff078bb7}} 
unsigned int \textbf{ retries}
\begin{DoxyCompactList}\small\item\em retries upon datagram timeout \end{DoxyCompactList}\item 
\mbox{\label{structec__fsm__soe_a165beb536c80ee10e46908c7f2e3b7d8}} 
void($\ast$ \textbf{ state} )(\textbf{ ec\+\_\+fsm\+\_\+soe\+\_\+t} $\ast$, \textbf{ ec\+\_\+datagram\+\_\+t} $\ast$)
\begin{DoxyCompactList}\small\item\em CoE state function. \end{DoxyCompactList}\item 
\textbf{ ec\+\_\+datagram\+\_\+t} $\ast$ \textbf{ datagram}
\begin{DoxyCompactList}\small\item\em Datagram used in the previous step. \end{DoxyCompactList}\item 
unsigned long \textbf{ jiffies\+\_\+start}
\begin{DoxyCompactList}\small\item\em Timestamp. \end{DoxyCompactList}\item 
\mbox{\label{structec__fsm__soe_add6279a51617da94d91420bb05e57a7c}} 
\textbf{ ec\+\_\+soe\+\_\+request\+\_\+t} $\ast$ \textbf{ request}
\begin{DoxyCompactList}\small\item\em SoE request. \end{DoxyCompactList}\item 
off\+\_\+t \textbf{ offset}
\begin{DoxyCompactList}\small\item\em I\+DN data offset during fragmented write. \end{DoxyCompactList}\item 
size\+\_\+t \textbf{ fragment\+\_\+size}
\begin{DoxyCompactList}\small\item\em Size of the current fragment. \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
Finite state machines for the Sercos over Ether\+C\+AT protocol. 

Definition at line 51 of file fsm\+\_\+soe.\+h.



\subsection{Field Documentation}
\mbox{\label{structec__fsm__soe_ad94b8e0cd3aeb06cc554b1405bf02436}} 
\index{ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}!datagram@{datagram}}
\index{datagram@{datagram}!ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}}
\subsubsection{datagram}
{\footnotesize\ttfamily \textbf{ ec\+\_\+datagram\+\_\+t}$\ast$ ec\+\_\+fsm\+\_\+soe\+::datagram}



Datagram used in the previous step. 



Definition at line 56 of file fsm\+\_\+soe.\+h.

\mbox{\label{structec__fsm__soe_ad9dc7d3d67af743a7181a878f23faa84}} 
\index{ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}!jiffies\+\_\+start@{jiffies\+\_\+start}}
\index{jiffies\+\_\+start@{jiffies\+\_\+start}!ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}}
\subsubsection{jiffies\+\_\+start}
{\footnotesize\ttfamily unsigned long ec\+\_\+fsm\+\_\+soe\+::jiffies\+\_\+start}



Timestamp. 



Definition at line 57 of file fsm\+\_\+soe.\+h.

\mbox{\label{structec__fsm__soe_a2e2bdcd1fdb5d507480e0c29a97ce7d0}} 
\index{ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}!offset@{offset}}
\index{offset@{offset}!ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}}
\subsubsection{offset}
{\footnotesize\ttfamily off\+\_\+t ec\+\_\+fsm\+\_\+soe\+::offset}



I\+DN data offset during fragmented write. 



Definition at line 59 of file fsm\+\_\+soe.\+h.

\mbox{\label{structec__fsm__soe_ae3f6c643ecacae3364064dc9f466c95a}} 
\index{ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}!fragment\+\_\+size@{fragment\+\_\+size}}
\index{fragment\+\_\+size@{fragment\+\_\+size}!ec\+\_\+fsm\+\_\+soe@{ec\+\_\+fsm\+\_\+soe}}
\subsubsection{fragment\+\_\+size}
{\footnotesize\ttfamily size\+\_\+t ec\+\_\+fsm\+\_\+soe\+::fragment\+\_\+size}



Size of the current fragment. 



Definition at line 60 of file fsm\+\_\+soe.\+h.

